package c.c.c.a.i;

import android.content.Context;
import android.content.SharedPreferences;
import android.text.TextUtils;
import c.c.c.a.n;

/* compiled from: SettingManager */
public final class l {
    public SharedPreferences a;

    public l(Context context) {
        this.a = context.getSharedPreferences("npth", 0);
    }

    public String a() {
        String b = n.c.b.b();
        String str = "0";
        if (TextUtils.isEmpty(b) || str.equals(b)) {
            return this.a.getString("device_id", str);
        }
        return b;
    }
}
